package com.game.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.game.common.core.domain.BaseEntity;
import com.game.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统消息对象 t_notice
 *
 * @author ruoyi
 * @date 2025-10-22
 */
@Data
@TableName(value = "t_notice")
@EqualsAndHashCode(callSuper = true)
public class TNotice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * "标题"
     */
    @Excel(name = "标题")
    private String tilte;
    /**
     * "内容"
     */
    @Excel(name = "内容")
    private String content;
    /**
     * "发送人"
     */
    @Excel(name = "发送人")
    private String sendUserId;
    /**
     * "接收人"
     */
    @Excel(name = "接收人")
    private String receiveUserId;
    /**
     * "是否已读"  1 已读  2 未读
     */
    @Excel(name = "是否已读")
    private String isRead;
    /**
     * "消息类型"  1 身份认证审核消息
     */
    @Excel(name = "消息类型")
    private String type;
    /**
     * "业务Id"
     */
    @Excel(name = "业务Id")
    private String businessId;
    /**
     * "接收人昵称"
     */
    @Excel(name = "接收人昵称")
    @TableField(exist = false)
    private String receiveNickName;
    /**
     * "发送人昵称"
     */
    @Excel(name = "发送人昵称")
    @TableField(exist = false)
    private String sendNickName;

    /**
     * 用户类型  1  担保ren  2 代练师  4 用户
     */
    @Excel(name = " 用户类型")
    @TableField(exist = false)
    private String userType;



}
